package com.mgface.main;

import com.mgface.client.Client;
import com.mgface.export.InterfaceExport;

import java.net.InetSocketAddress;

/**
 * @author wanyuxiang
 * @version 1.0
 * @project Java10Demo
 * @create 2018-08-14 12:00
 **/
public class App {
    public static void main(String[] args) {
        InterfaceExport service = Client.get(InterfaceExport.class,new InetSocketAddress("localhost",8020));
        String result = service.hello("admin","你好呀！");
        System.out.println(result);
    }
}
